3.91 \(\int x (a+b \log (c x^n)) \log (d (e+f x^2)^m) \, dx\)

Optimal. Leaf size=148 \[ -\frac{b e m n \text{PolyLog}\left (2,\frac{f x^2}{e}+1\right )}{4 f}+\frac{\left (e+f x^2\right ) \left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right )}{2 f}-\frac{1}{2} m x^2 \left (a+b \log \left (c x^n\right )\right )-\frac{b n \left (e+f x^2\right ) \log \left (d \left (e+f x^2\right )^m\right )}{4 f}-\frac{b e n \log \left (-\frac{f x^2}{e}\right ) \log \left (d \left (e+f x^2\right )^m\right )}{4 f}+\frac{1}{2} b m n x^2 \]

[Out]

(b*m*n*x^2)/2 - (m*x^2*(a + b*Log[c*x^n]))/2 - (b*n*(e + f*x^2)*Log[d*(e + f*x^2)^m])/(4*f) - (b*e*n*Log[-((f*
x^2)/e)]*Log[d*(e + f*x^2)^m])/(4*f) + ((e + f*x^2)*(a + b*Log[c*x^n])*Log[d*(e + f*x^2)^m])/(2*f) - (b*e*m*n*
PolyLog[2, 1 + (f*x^2)/e])/(4*f)

________________________________________________________________________________________

Rubi [A]  time = 0.217573, antiderivative size = 148, normalized size of antiderivative = 1., number of steps used = 9, number of rules used = 10, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.417, Rules used = {2454, 2389, 2295, 2376, 2475, 2411, 43, 2351, 2317, 2391} \[ -\frac{b e m n \text{PolyLog}\left (2,\frac{f x^2}{e}+1\right )}{4 f}+\frac{\left (e+f x^2\right ) \left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right )}{2 f}-\frac{1}{2} m x^2 \left (a+b \log \left (c x^n\right )\right )-\frac{b n \left (e+f x^2\right ) \log \left (d \left (e+f x^2\right )^m\right )}{4 f}-\frac{b e n \log \left (-\frac{f x^2}{e}\right ) \log \left (d \left (e+f x^2\right )^m\right )}{4 f}+\frac{1}{2} b m n x^2 \]

Antiderivative was successfully verified.

[In]

Int[x*(a + b*Log[c*x^n])*Log[d*(e + f*x^2)^m],x]

[Out]

(b*m*n*x^2)/2 - (m*x^2*(a + b*Log[c*x^n]))/2 - (b*n*(e + f*x^2)*Log[d*(e + f*x^2)^m])/(4*f) - (b*e*n*Log[-((f*
x^2)/e)]*Log[d*(e + f*x^2)^m])/(4*f) + ((e + f*x^2)*(a + b*Log[c*x^n])*Log[d*(e + f*x^2)^m])/(2*f) - (b*e*m*n*
PolyLog[2, 1 + (f*x^2)/e])/(4*f)

Rule 2454

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))^(q_.)*(x_)^(m_.), x_Symbol] :> Dist[1/n, Subst[I
nt[x^(Simplify[(m + 1)/n] - 1)*(a + b*Log[c*(d + e*x)^p])^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, e, m, n, p,
 q}, x] && IntegerQ[Simplify[(m + 1)/n]] && (GtQ[(m + 1)/n, 0] || IGtQ[q, 0]) &&  !(EqQ[q, 1] && ILtQ[n, 0] &&
 IGtQ[m, 0])

Rule 2389

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.), x_Symbol] :> Dist[1/e, Subst[Int[(a + b*Log[c*
x^n])^p, x], x, d + e*x], x] /; FreeQ[{a, b, c, d, e, n, p}, x]

Rule 2295

Int[Log[(c_.)*(x_)^(n_.)], x_Symbol] :> Simp[x*Log[c*x^n], x] - Simp[n*x, x] /; FreeQ[{c, n}, x]

Rule 2376

Int[Log[(d_.)*((e_) + (f_.)*(x_)^(m_.))^(r_.)]*((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*((g_.)*(x_))^(q_.), x_Sym
bol] :> With[{u = IntHide[(g*x)^q*Log[d*(e + f*x^m)^r], x]}, Dist[a + b*Log[c*x^n], u, x] - Dist[b*n, Int[Dist
[1/x, u, x], x], x]] /; FreeQ[{a, b, c, d, e, f, g, r, m, n, q}, x] && (IntegerQ[(q + 1)/m] || (RationalQ[m] &
& RationalQ[q])) && NeQ[q, -1]

Rule 2475

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))^(q_.)*(x_)^(m_.)*((f_) + (g_.)*(x_)^(s_))^(r_.),
 x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(f + g*x^(s/n))^r*(a + b*Log[c*(d + e*x)^p])^q,
x], x, x^n], x] /; FreeQ[{a, b, c, d, e, f, g, m, n, p, q, r, s}, x] && IntegerQ[r] && IntegerQ[s/n] && Intege
rQ[Simplify[(m + 1)/n]] && (GtQ[(m + 1)/n, 0] || IGtQ[q, 0])

Rule 2411

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.)*((f_.) + (g_.)*(x_))^(q_.)*((h_.) + (i_.)*(x_))
^(r_.), x_Symbol] :> Dist[1/e, Subst[Int[((g*x)/e)^q*((e*h - d*i)/e + (i*x)/e)^r*(a + b*Log[c*x^n])^p, x], x,
d + e*x], x] /; FreeQ[{a, b, c, d, e, f, g, h, i, n, p, q, r}, x] && EqQ[e*f - d*g, 0] && (IGtQ[p, 0] || IGtQ[
r, 0]) && IntegerQ[2*r]

Rule 43

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rule 2351

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*((f_.)*(x_))^(m_.)*((d_) + (e_.)*(x_)^(r_.))^(q_.), x_Symbol] :> Wit
h[{u = ExpandIntegrand[a + b*Log[c*x^n], (f*x)^m*(d + e*x^r)^q, x]}, Int[u, x] /; SumQ[u]] /; FreeQ[{a, b, c,
d, e, f, m, n, q, r}, x] && IntegerQ[q] && (GtQ[q, 0] || (IntegerQ[m] && IntegerQ[r]))

Rule 2317

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)/((d_) + (e_.)*(x_)), x_Symbol] :> Simp[(Log[1 + (e*x)/d]*(a +
b*Log[c*x^n])^p)/e, x] - Dist[(b*n*p)/e, Int[(Log[1 + (e*x)/d]*(a + b*Log[c*x^n])^(p - 1))/x, x], x] /; FreeQ[
{a, b, c, d, e, n}, x] && IGtQ[p, 0]

Rule 2391

Int[Log[(c_.)*((d_) + (e_.)*(x_)^(n_.))]/(x_), x_Symbol] :> -Simp[PolyLog[2, -(c*e*x^n)]/n, x] /; FreeQ[{c, d,
 e, n}, x] && EqQ[c*d, 1]

Rubi steps

\begin{align*} \int x \left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right ) \, dx &=-\frac{1}{2} m x^2 \left (a+b \log \left (c x^n\right )\right )+\frac{\left (e+f x^2\right ) \left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right )}{2 f}-(b n) \int \left (-\frac{m x}{2}+\frac{\left (e+f x^2\right ) \log \left (d \left (e+f x^2\right )^m\right )}{2 f x}\right ) \, dx\\ &=\frac{1}{4} b m n x^2-\frac{1}{2} m x^2 \left (a+b \log \left (c x^n\right )\right )+\frac{\left (e+f x^2\right ) \left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right )}{2 f}-\frac{(b n) \int \frac{\left (e+f x^2\right ) \log \left (d \left (e+f x^2\right )^m\right )}{x} \, dx}{2 f}\\ &=\frac{1}{4} b m n x^2-\frac{1}{2} m x^2 \left (a+b \log \left (c x^n\right )\right )+\frac{\left (e+f x^2\right ) \left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right )}{2 f}-\frac{(b n) \operatorname{Subst}\left (\int \frac{(e+f x) \log \left (d (e+f x)^m\right )}{x} \, dx,x,x^2\right )}{4 f}\\ &=\frac{1}{4} b m n x^2-\frac{1}{2} m x^2 \left (a+b \log \left (c x^n\right )\right )+\frac{\left (e+f x^2\right ) \left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right )}{2 f}-\frac{(b n) \operatorname{Subst}\left (\int \frac{x \log \left (d x^m\right )}{-\frac{e}{f}+\frac{x}{f}} \, dx,x,e+f x^2\right )}{4 f^2}\\ &=\frac{1}{4} b m n x^2-\frac{1}{2} m x^2 \left (a+b \log \left (c x^n\right )\right )+\frac{\left (e+f x^2\right ) \left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right )}{2 f}-\frac{(b n) \operatorname{Subst}\left (\int \left (f \log \left (d x^m\right )-\frac{e f \log \left (d x^m\right )}{e-x}\right ) \, dx,x,e+f x^2\right )}{4 f^2}\\ &=\frac{1}{4} b m n x^2-\frac{1}{2} m x^2 \left (a+b \log \left (c x^n\right )\right )+\frac{\left (e+f x^2\right ) \left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right )}{2 f}-\frac{(b n) \operatorname{Subst}\left (\int \log \left (d x^m\right ) \, dx,x,e+f x^2\right )}{4 f}+\frac{(b e n) \operatorname{Subst}\left (\int \frac{\log \left (d x^m\right )}{e-x} \, dx,x,e+f x^2\right )}{4 f}\\ &=\frac{1}{2} b m n x^2-\frac{1}{2} m x^2 \left (a+b \log \left (c x^n\right )\right )-\frac{b n \left (e+f x^2\right ) \log \left (d \left (e+f x^2\right )^m\right )}{4 f}-\frac{b e n \log \left (-\frac{f x^2}{e}\right ) \log \left (d \left (e+f x^2\right )^m\right )}{4 f}+\frac{\left (e+f x^2\right ) \left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right )}{2 f}+\frac{(b e m n) \operatorname{Subst}\left (\int \frac{\log \left (1-\frac{x}{e}\right )}{x} \, dx,x,e+f x^2\right )}{4 f}\\ &=\frac{1}{2} b m n x^2-\frac{1}{2} m x^2 \left (a+b \log \left (c x^n\right )\right )-\frac{b n \left (e+f x^2\right ) \log \left (d \left (e+f x^2\right )^m\right )}{4 f}-\frac{b e n \log \left (-\frac{f x^2}{e}\right ) \log \left (d \left (e+f x^2\right )^m\right )}{4 f}+\frac{\left (e+f x^2\right ) \left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (e+f x^2\right )^m\right )}{2 f}-\frac{b e m n \text{Li}_2\left (1+\frac{f x^2}{e}\right )}{4 f}\\ \end{align*}

Mathematica [C]  time = 0.081653, size = 266, normalized size = 1.8 \[ \frac{2 b e m n \text{PolyLog}\left (2,-\frac{i \sqrt{f} x}{\sqrt{e}}\right )+2 b e m n \text{PolyLog}\left (2,\frac{i \sqrt{f} x}{\sqrt{e}}\right )+2 a f x^2 \log \left (d \left (e+f x^2\right )^m\right )+2 a e \log \left (d \left (e+f x^2\right )^m\right )-2 a f m x^2+2 b f x^2 \log \left (c x^n\right ) \log \left (d \left (e+f x^2\right )^m\right )+2 b e m \log \left (c x^n\right ) \log \left (e+f x^2\right )-2 b f m x^2 \log \left (c x^n\right )-b f n x^2 \log \left (d \left (e+f x^2\right )^m\right )-b e m n \log \left (e+f x^2\right )-2 b e m n \log (x) \log \left (e+f x^2\right )+2 b e m n \log (x) \log \left (1-\frac{i \sqrt{f} x}{\sqrt{e}}\right )+2 b e m n \log (x) \log \left (1+\frac{i \sqrt{f} x}{\sqrt{e}}\right )+2 b f m n x^2}{4 f} \]

Antiderivative was successfully verified.

[In]

Integrate[x*(a + b*Log[c*x^n])*Log[d*(e + f*x^2)^m],x]

[Out]

(-2*a*f*m*x^2 + 2*b*f*m*n*x^2 - 2*b*f*m*x^2*Log[c*x^n] + 2*b*e*m*n*Log[x]*Log[1 - (I*Sqrt[f]*x)/Sqrt[e]] + 2*b
*e*m*n*Log[x]*Log[1 + (I*Sqrt[f]*x)/Sqrt[e]] - b*e*m*n*Log[e + f*x^2] - 2*b*e*m*n*Log[x]*Log[e + f*x^2] + 2*b*
e*m*Log[c*x^n]*Log[e + f*x^2] + 2*a*e*Log[d*(e + f*x^2)^m] + 2*a*f*x^2*Log[d*(e + f*x^2)^m] - b*f*n*x^2*Log[d*
(e + f*x^2)^m] + 2*b*f*x^2*Log[c*x^n]*Log[d*(e + f*x^2)^m] + 2*b*e*m*n*PolyLog[2, ((-I)*Sqrt[f]*x)/Sqrt[e]] +
2*b*e*m*n*PolyLog[2, (I*Sqrt[f]*x)/Sqrt[e]])/(4*f)

________________________________________________________________________________________

Maple [C]  time = 0.286, size = 2068, normalized size = 14. \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*(a+b*ln(c*x^n))*ln(d*(f*x^2+e)^m),x)

[Out]

-1/4*I*e*m/f*ln(f*x^2+e)*Pi*b*csgn(I*c)*csgn(I*x^n)*csgn(I*c*x^n)-1/4*b*e*m*n/f*ln(f*x^2+e)-1/2*m*b*ln(x^n)*x^
2+1/2*ln(d)*b*x^2*ln(x^n)-1/4*ln(d)*b*n*x^2+1/2*x^2*ln(c)*ln(d)*b-1/2*x^2*ln(c)*b*m+1/2*b*e*m*n/f*dilog((-f*x+
(-e*f)^(1/2))/(-e*f)^(1/2))+1/2*b*e*m*n/f*dilog((f*x+(-e*f)^(1/2))/(-e*f)^(1/2))-1/4*I*Pi*a*x^2*csgn(I*d*(f*x^
2+e)^m)^3-1/8*Pi^2*csgn(I*d*(f*x^2+e)^m)^3*x^2*b*csgn(I*c*x^n)^3+1/2*x^2*ln(d)*a+1/2*b*e*m*n*ln(x)/f*ln((-f*x+
(-e*f)^(1/2))/(-e*f)^(1/2))+1/2*b*e*m*n*ln(x)/f*ln((f*x+(-e*f)^(1/2))/(-e*f)^(1/2))-1/8*Pi^2*csgn(I*d)*csgn(I*
d*(f*x^2+e)^m)^2*x^2*b*csgn(I*c)*csgn(I*c*x^n)^2-1/8*Pi^2*csgn(I*d)*csgn(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+e)^m)*csgn(I*d*(f*x^2+e)^m)*x^2*b*csgn(I*x^n
)*csgn(I*c*x^n)^2+1/4*I*e*m/f*ln(f*x^2+e)*Pi*b*csgn(I*x^n)*csgn(I*c*x^n)^2-1/8*Pi^2*csgn(I*d)*csgn(I*(f*x^2+e)
^m)*csgn(I*d*(f*x^2+e)^m)*x^2*b*csgn(I*c)*csgn(I*x^n)*csgn(I*c*x^n)+1/4*I*e*m/f*ln(f*x^2+e)*Pi*b*csgn(I*c)*csg
n(I*c*x^n)^2+1/4*I*ln(c)*Pi*b*x^2*csgn(I*d)*csgn(I*d*(f*x^2+e)^m)^2+1/4*I*ln(c)*Pi*b*x^2*csgn(I*(f*x^2+e)^m)*c
sgn(I*d*(f*x^2+e)^m)^2-1/4*I*Pi*b*m*x^2*csgn(I*c)*csgn(I*c*x^n)^2-1/4*I*Pi*b*m*x^2*csgn(I*x^n)*csgn(I*c*x^n)^2
-1/4*I*Pi*a*x^2*csgn(I*d)*csgn(I*(f*x^2+e)^m)*csgn(I*d*(f*x^2+e)^m)-1/8*I*Pi*b*n*x^2*csgn(I*d)*csgn(I*d*(f*x^2
+e)^m)^2-1/8*I*Pi*b*n*x^2*csgn(I*(f*x^2+e)^m)*csgn(I*d*(f*x^2+e)^m)^2+1/4*I*Pi*csgn(I*d)*csgn(I*d*(f*x^2+e)^m)
^2*b*x^2*ln(x^n)+1/4*I*Pi*csgn(I*(f*x^2+e)^m)*csgn(I*d*(f*x^2+e)^m)^2*b*x^2*ln(x^n)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \frac{1}{4} \,{\left (2 \, b x^{2} \log \left (x^{n}\right ) -{\left (b{\left (n - 2 \, \log \left (c\right )\right )} - 2 \, a\right )} x^{2}\right )} \log \left ({\left (f x^{2} + e\right )}^{m}\right ) + \int -\frac{{\left (2 \,{\left (f m - f \log \left (d\right )\right )} a -{\left (f m n - 2 \,{\left (f m - f \log \left (d\right )\right )} \log \left (c\right )\right )} b\right )} x^{3} - 2 \,{\left (b e \log \left (c\right ) \log \left (d\right ) + a e \log \left (d\right )\right )} x + 2 \,{\left ({\left (f m - f \log \left (d\right )\right )} b x^{3} - b e x \log \left (d\right )\right )} \log \left (x^{n}\right )}{2 \,{\left (f x^{2} + e\right )}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(a+b*log(c*x^n))*log(d*(f*x^2+e)^m),x, algorithm="maxima")

[Out]

1/4*(2*b*x^2*log(x^n) - (b*(n - 2*log(c)) - 2*a)*x^2)*log((f*x^2 + e)^m) + integrate(-1/2*((2*(f*m - f*log(d))
*a - (f*m*n - 2*(f*m - f*log(d))*log(c))*b)*x^3 - 2*(b*e*log(c)*log(d) + a*e*log(d))*x + 2*((f*m - f*log(d))*b
*x^3 - b*e*x*log(d))*log(x^n))/(f*x^2 + e), x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (b x \log \left (c x^{n}\right ) + a x\right )} \log \left ({\left (f x^{2} + e\right )}^{m} d\right ), x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(a+b*log(c*x^n))*log(d*(f*x^2+e)^m),x, algorithm="fricas")

[Out]

integral((b*x*log(c*x^n) + a*x)*log((f*x^2 + e)^m*d), x)

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(a+b*ln(c*x**n))*ln(d*(f*x**2+e)**m),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b \log \left (c x^{n}\right ) + a\right )} x \log \left ({\left (f x^{2} + e\right )}^{m} d\right )\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(a+b*log(c*x^n))*log(d*(f*x^2+e)^m),x, algorithm="giac")

[Out]

integrate((b*log(c*x^n) + a)*x*log((f*x^2 + e)^m*d), x)